package pojo;

/**
 * @author konley
 * @date 2020-06-17 11:04
 */
public class Goods {
    private int id;
    private String name;
    private String type;
    private String money;
    private String info;
    private String stock;
    private String url;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getStock() {
        return stock;
    }

    public void setStock(String stock) {
        this.stock = stock;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", money='" + money + '\'' +
                ", info='" + info + '\'' +
                ", stock='" + stock + '\'' +
                ", url='" + url + '\'' +
                '}';
    }

    public Goods(int id, String name, String type, String money, String info, String stock, String url) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.money = money;
        this.info = info;
        this.stock = stock;
        this.url = url;
    }

    public Goods() {
    }
}
